package oomtest;

/**
 * @description: TODO
 * @author: wzj
 * @create: 2018/11/28 8:55
 */
public class RunOOM {
    public static void main(String[] args) {
        String str=new StringBuilder("jaa").append("va").toString();
        System.out.println(str.intern()==str);

        String str1=new StringBuilder("jaa").append("va").toString();
        System.out.println(str1.intern()==str1);
    }
}
